<div class="w700 float_left">
        <div class="bg_tt1">
          <p class="tt p5t">{{$catName}}</p>
        </div>
        <div class="w246 float_left p11t"><a href="{{$latestNews.url}}" title="{{$latestNews.title}}"> <img src="{{$BASE_URL}}{{$latestNews.main_image}}" title="{{$latestNews.title}}" alt="{{$latestNews.title}}"/></a></div>
        <div class="w440 float_right p11t p10b">
          <p class="font16 color_yellow p5b"> <strong><a href="{{$latestNews.url}}" title="{{$latestNews.title}}"> {{$latestNews.title}}</a></strong></p>
          {{$latestNews.intro_text}}
           <a class="button_chitiet m5t" href="{{$latestNews.url}}">{{l}}Detail{{/l}}</a> 
        </div>
        <div class=" cb"></div>
        <div class="bg_tt1_1">
          <p class="tt p5t float_left">{{l}}Other News{{/l}}</p>
           <!-- PANIVIGATION -->
        	{{if $countAllPages > 1}}
	          <div class="pages float_right">
	            <ul>
	              {{if $first}}
	              	<li><a href="?page=1"><img src="{{$LAYOUT_HELPER_URL}}front/images/bulet_left1.png"/></a></li>
	              {{/if}}
	              {{if $prevPage}}
	              <li><a href="?page={{$prevPage}}"><img src="{{$LAYOUT_HELPER_URL}}front/images/bulet_left1_1.png"/></a></li>
	              {{/if}}
	              {{foreach from=$prevPages item=item}}
	              	<li><a href="?page={{$item}}">{{$item}}</a></li>
	              {{/foreach}}
	              <li class="current"><a href="#">{{$currentPage}}</a></li>
	              
	              {{foreach from=$nextPages item=item}}
                  	<li><a href="?page={{$item}}">{{$item}}</a></li>
                  {{/foreach}}
	              
	              {{if $nextPage}}
	              	<li><a href="#"><img src="{{$LAYOUT_HELPER_URL}}front/images/bulet_right1_1.png"/></a></li>
	              {{/if}}
	              {{if $last}}
	              	<li><a href="#"><img src="{{$LAYOUT_HELPER_URL}}front/images/bulet_right1.png"/></a></li>
	              {{/if}}
	            </ul>
	            <div class="cb"></div>
	          </div>
	        <!-- END PANAVIGATION -->
          	{{/if}}
        </div>
        
        {{foreach from=$allContents item=item1 name=sub1}}
        	{{if !$smarty.foreach.sub1.last}}
        		<div class="w350 float_left line_bt_news">
        		{{foreach from=$item1 item=item name = sub}}
        		{{if !$smarty.foreach.sub.last}}
        		<div class="box_news line_bt_news"> 
        		{{else}}
        		<div class="box_news p10b p10t p11l line_bt_news">
        		{{/if}}
        		<a href="{{$item.url}}" title="{{$item.main_title}}"><img src="{{$BASE_URL}}{{$item.main_image}}" title="{{$item.main_title}}" alt="{{$item.main_title}}"/></a>
        		<span ><a href="{{$item.url}}"> {{$item.title}}</a></span>
	            <p></p>
	            {{$item.intro_text}}
	            <p></p>
	             <a class="button_chitiet m2t float_left" href="{{$item.url}}">{{l}}Detail{{/l}}</a>
	            <div class="cb"></div>
	          </div>
	           		
        	
        	{{/foreach}}
        		
        	{{else}}
        		<div class="w350 float_left"> 
        		{{foreach from=$item1 item=item name = sub}}        		
        		<div class="box_news line_bt_news1">         		
        		<a href="{{$item.url}}"><img src="{{$BASE_URL}}{{$item.main_image}}" title="{{$item.main_title}}" alt="{{$item.main_title}}"/></a>
        		<span ><a href="{{$item.url}}" title="{{$item.main_title}}"> {{$item.title}}</a></span>
	            <p></p>
	            {{$item.intro_text}}
	            <p></p>
	             <a class="button_chitiet m2t float_left" href="{{$item.url}}" title="{{$item.main_title}}">{{l}}Detail{{/l}}</a>
	            <div class="cb"></div>
	          </div> 
	          {{/foreach}}       
          
         	{{/if}} 
       
        
        	
        	</div>
       {{/foreach}}  
          
          
        
        
        <div class="cb"></div>
        <div class="m10t">
          <!-- PANIVIGATION -->
        	{{if $countAllPages > 1}}
	          <div class="pages float_right">
	            <ul>
	              {{if $first}}
	              	<li><a href="?page=1"><img src="{{$LAYOUT_HELPER_URL}}front/images/bulet_left1.png"/></a></li>
	              {{/if}}
	              {{if $prevPage}}
	              <li><a href="?page={{$prevPage}}"><img src="{{$LAYOUT_HELPER_URL}}front/images/bulet_left1_1.png"/></a></li>
	              {{/if}}
	              {{foreach from=$prevPages item=item}}
	              	<li><a href="?page={{$item}}">{{$item}}</a></li>
	              {{/foreach}}
	              <li class="current"><a href="#">{{$currentPage}}</a></li>
	              
	              {{foreach from=$nextPages item=item}}
                  	<li><a href="?page={{$item}}">{{$item}}</a></li>
                  {{/foreach}}
	              
	              {{if $nextPage}}
	              	<li><a href="#"><img src="{{$LAYOUT_HELPER_URL}}front/images/bulet_right1_1.png"/></a></li>
	              {{/if}}
	              {{if $last}}
	              	<li><a href="#"><img src="{{$LAYOUT_HELPER_URL}}front/images/bulet_right1.png"/></a></li>
	              {{/if}}
	            </ul>
	            <div class="cb"></div>
	          </div>
	        <!-- END PANAVIGATION -->
          	{{/if}}
        </div>
      </div>